summaryrefslogtreecommitdiffstats
path: root/docusaurus/src/components/SubmitButton.tsx
blob: e9b1c7293b8aea9f70e97c4043b385d705c65f4b (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
/* SPDX-License-Identifier: AGPL-3.0-or-later */

import Button from "@mui/material/Button";
import React from "react";

export default ({
  text = "",
}: Readonly<{ text: string }>): React.JSX.Element => (
  <p>
    <Button
      type="submit"
      size="large"
      variant="contained"
      sx={{ textTransform: "capitalize" }}
    >
      {text}
    </Button>
  </p>
);

// Typography - MUI System
// https://mui.com/system/typography/